import numpy
import os
from ete2 import Tree
'''filename = os.path.dirname(__file__) + '-files/' + 'test'
mu, sigma = 1.5, 1
s11 = numpy.random.normal(mu, sigma, 100)
mu, sigma = 3.5, 0.8
s12 = numpy.random.normal(mu, sigma, 100)
mu, sigma = 4.5, 1.2
s13 = numpy.random.normal(mu, sigma, 100)
mu, sigma = 7.5, 1
s14 = numpy.random.normal(mu, sigma, 100)
s1 = numpy.hstack((s11, s12, s13, s14))

mu, sigma = 10, 1.3
s21 = numpy.random.normal(mu, sigma, 100)
mu, sigma = 10.5, 1
s22 = numpy.random.normal(mu, sigma, 100)
mu, sigma = 4, 1.1
s23 = numpy.random.normal(mu, sigma, 100)
mu, sigma = 4.5, 1
s24 = numpy.random.normal(mu, sigma, 100)
s2 = numpy.hstack((s21, s22, s23, s24))

numpy.savetxt(filename, zip(s1,s2))
    
print numpy.load(filename+'.npy')'''

'''print Tree(os.path.dirname(__file__) + '-files/' + 'test_tree.nw')'''

'''data = numpy.loadtxt(os.path.dirname(__file__) + '-files/features-5000_Euclidean.dist')
print data
numpy.save(os.path.dirname(__file__) + '-files/features-5000_Euclidean.dist', data)
'''
'''data = numpy.load(os.path.dirname(__file__) + '-files/features-1000_Euclidean.dist.npy')
print data'''

print Tree(os.path.dirname(__file__) + '-files/features-100_tree.nw')